package com.example.sec_demo.service.impl;


import com.example.sec_demo.Dao.UserDaoMapper;
import com.example.sec_demo.entity.Users;
import com.example.sec_demo.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yuyongli
 * @since 2023-06-25
 */
@Service
public class UserServiceImpl implements IUserService {
    @Resource
    UserDaoMapper userDaoMapper;
    @Override
    public Users query(String name) {
        return userDaoMapper.query(name);
    }
}
